package cn.johnyu.mapper;

import cn.johnyu.pojo.Product;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ProductMapper {
    @Select("select * from products")
    List<Product> findAllProducts();
}
